Skip to content

Migrating Best Practices topics to Symfony Flex structure #8579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2017

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Nov 2, 2017

Pending files for other PR:

  • configuration.rst
  • creating-the-project.rst
  • i18n.rst
  • templates.rst

@yceruto yceruto changed the title [Best Practices] More changes of Symfony Flex structure Migrating Best Practices topics to Symfony Flex structure Nov 2, 2017

providers:
database_users:
entity: { class: AppBundle:User, property: username }
entity: { class: App:User, property: username }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be App\Entity\User ... but it may be better to do that change in all docs in a separate PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I agree. The namespace is now small enough that this slightly longer format is worth it because it's more clear.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've actually just made this change, as this is the only spot in the docs where this appears (there are still many references of AppBundle:, but this is the only one that is App:). As we migrate away from AppBundle, we can also change to not use the shortcut.

@weaverryan weaverryan merged commit 176bbdf into symfony:master Nov 5, 2017
weaverryan added a commit that referenced this pull request Nov 5, 2017
…re (yceruto)

This PR was merged into the master branch.

Discussion
----------

Migrating Best Practices topics to Symfony Flex structure

Pending files for other PR:
* configuration.rst
* creating-the-project.rst
* i18n.rst
* templates.rst

Commits
-------

176bbdf [Best Practices] More changes of Symfony Flex structure
weaverryan added a commit that referenced this pull request Nov 5, 2017
@yceruto yceruto deleted the best_practices branch November 5, 2017 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants